package com.lzy.cloud.producer.config;

import feign.Contract;
import org.springframework.cloud.netflix.feign.support.SpringMvcContract;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA.
 * Description: lzy-cloud-service
 *
 * @author: ellengou
 * @date: 2018-06-14 星期四
 * @time: 15:28
 */
@Configuration
public class FeignClientConfiguration {

    @Bean
    public Contract feignContract() {
        return new SpringMvcContract();
    }

}